package tv.huan.media.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import tv.huan.common.annotation.Excel;
import tv.huan.common.core.domain.BaseEntity;

/**
 * 媒资对象 media
 * 
 * @author admin
 * @date 2020-04-02
 */
public class Media extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 腾讯视频id */
    @Excel(name = "腾讯视频id")
    private String vid;

    /** 视频名称 */
    @Excel(name = "视频名称")
    private String title;

    /** 所属专辑id */
    @Excel(name = "所属专辑id")
    private String cid;

    /** 所属专辑名称 */
    @Excel(name = "所属专辑名称")
    private String albumTitle;

    /** 简介 */
    @Excel(name = "简介")
    private String description;

    /** 语言 */
    @Excel(name = "语言")
    private String langue;

    /** 主演 */
    @Excel(name = "主演")
    private String leadingActor;

    /** 导演 */
    @Excel(name = "导演")
    private String director;

    /** 年份 */
    @Excel(name = "年份")
    private String year;

    /** 地区 */
    @Excel(name = "地区")
    private String areaName;

    /** 评分 */
    @Excel(name = "评分")
    private String score;

    /** type 腾讯视频类型1电影2电视剧3动漫10综艺 */
    @Excel(name = "type 腾讯视频类型1电影2电视剧3动漫10综艺")
    private Integer type;

    /** 视频时长 */
    @Excel(name = "视频时长")
    private Integer duration;

    /** 当前集数 */
    @Excel(name = "当前集数")
    private String episode;

    /** 上映时间 */
    @Excel(name = "上映时间")
    private String publishDate;

    /** 单视频播放url */
    @Excel(name = "单视频播放url")
    private String url;

    /** 视频图片路径 */
    @Excel(name = "视频图片路径")
    private String picPath;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Integer status;

    /** 审核状态 */
    private Integer teamId;

    public Integer getTeamId() {
        return teamId;
    }

    public void setTeamId(Integer teamId) {
        this.teamId = teamId;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setVid(String vid) 
    {
        this.vid = vid;
    }

    public String getVid() 
    {
        return vid;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setCid(String cid) 
    {
        this.cid = cid;
    }

    public String getCid() 
    {
        return cid;
    }
    public void setAlbumTitle(String albumTitle) 
    {
        this.albumTitle = albumTitle;
    }

    public String getAlbumTitle() 
    {
        return albumTitle;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setLangue(String langue) 
    {
        this.langue = langue;
    }

    public String getLangue() 
    {
        return langue;
    }
    public void setLeadingActor(String leadingActor) 
    {
        this.leadingActor = leadingActor;
    }

    public String getLeadingActor() 
    {
        return leadingActor;
    }
    public void setDirector(String director) 
    {
        this.director = director;
    }

    public String getDirector() 
    {
        return director;
    }
    public void setYear(String year) 
    {
        this.year = year;
    }

    public String getYear() 
    {
        return year;
    }
    public void setAreaName(String areaName) 
    {
        this.areaName = areaName;
    }

    public String getAreaName() 
    {
        return areaName;
    }
    public void setScore(String score) 
    {
        this.score = score;
    }

    public String getScore() 
    {
        return score;
    }
    public void setType(Integer type)
    {
        this.type = type;
    }

    public Integer getType()
    {
        return type;
    }
    public void setDuration(Integer duration)
    {
        this.duration = duration;
    }

    public Integer getDuration()
    {
        return duration;
    }
    public void setEpisode(String episode) 
    {
        this.episode = episode;
    }

    public String getEpisode() 
    {
        return episode;
    }
    public void setPublishDate(String publishDate) 
    {
        this.publishDate = publishDate;
    }

    public String getPublishDate() 
    {
        return publishDate;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setPicPath(String picPath) 
    {
        this.picPath = picPath;
    }

    public String getPicPath() 
    {
        return picPath;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("vid", getVid())
            .append("title", getTitle())
            .append("cid", getCid())
            .append("albumTitle", getAlbumTitle())
            .append("description", getDescription())
            .append("langue", getLangue())
            .append("leadingActor", getLeadingActor())
            .append("director", getDirector())
            .append("year", getYear())
            .append("areaName", getAreaName())
            .append("score", getScore())
            .append("type", getType())
            .append("duration", getDuration())
            .append("episode", getEpisode())
            .append("publishDate", getPublishDate())
            .append("url", getUrl())
            .append("picPath", getPicPath())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .toString();
    }
}
